package com.example.demovote.service;

import com.example.demovote.entity.Vote;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demovote.vo.Result;

/**
 * <p>
 * 投票系统-题目表-2 服务类
 * </p>
 *
 * @author ly
 * @since 2024-03-18
 */
public interface IVoteService extends IService<Vote> {

    public Result create(String vname, String type, String[] iname);

    public Result commit(int vid, int uid, int[] iid);

}
